package org.jeecg.modules.asset.query.service.impl;


import org.jeecg.modules.asset.query.entity.Query;
import org.jeecg.modules.asset.query.mapper.QueryMapper;
import org.jeecg.modules.asset.query.service.IQueryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description:   模糊查询
 * @Author: jeecg-boot
 * @Date:   2020-03-31
 * @Version: V1.0
 */
@Service
public class QueryServiceImpl extends ServiceImpl<QueryMapper, Query> implements IQueryService {
    @Autowired
    private QueryMapper queryMapper;

    @Override
    public List<Query> query(String common) {
        return this.queryMapper.query(common);
    }
}
